package com.lvmama.rhino.service.comment;

import com.lvmama.rhino.pojo.comment.entity.ProductCommentDetail;

import java.util.List;

/**
 * Created by Administrator on 2017/9/20.
 */
public interface ProductCommentDetailService {

    /**
     * 查询评论观点排名
     *
     * @param
     * @return 结果集
     */
    List<ProductCommentDetail> selectGoodViewpoint(ProductCommentDetail productCommentDetail, Long productId,
                                                   String beginDate, String endDate, String categoryId);

    List<ProductCommentDetail> selectBadViewpoint(ProductCommentDetail productCommentDetail, Long productId,
                                                  String beginDate, String endDate, String categoryId);

    List<ProductCommentDetail> selectAllViewpoint(Integer flag);

}
